import 'package:flutter/material.dart';

enum ImInputStyle { text, voice, emoji, add }

enum ImInputStatus { edit, inputing, textInputOther, textNoInput, none }

class ImInputState {
  late TextEditingController textCtrl;
  late ImInputStatus status;
  late ImInputStyle style;
  late FocusNode focusNode;

  initialization() {
    textCtrl = TextEditingController();
    status = ImInputStatus.none;
    style = ImInputStyle.text;
    focusNode = FocusNode();
  }

  dispose() {
    textCtrl.dispose();
    focusNode.dispose();
  }
}
